import instance from "@/http/index.js";
// 获取所有轮播图
export const getAllSwiper = () =>{
	return instance({
		url:"/set/getAllSwiper",
		method:"POST",
		data:{}
	})
}
// 获取公司名称
export const getCompanyName = () =>{
	return instance({
		url:"/set/getCompanyName",
		method:"POST",
	})
}
// 修改公司名称
export const changeCompanyName = (set_text) =>{
	return instance({
		url:"/set/changeCompanyName",
		method:"POST",
		data:{
			set_text
		}
	})
}
// 获取公司介绍信息
export const getCompanyIntroduce = (set_name) =>{
	return instance({
		url:"/set/getCompanyIntroduce",
		method:"POST",
		data:{
			set_name
		}
	})
}
// 修改公司介绍
export const changeCompanyIntroduce = (set_text,set_name) =>{
	return instance({
		url:"/set/changeCompanyIntroduce",
		method:"POST",
		data:{
			set_text,
			set_name
		}
	})
}
// 获取公司信息
export const getAllCompanyIntroduce = () =>{
	return instance({
		url:"/set/getAllCompanyIntroduce",
		method:"POST",
	})
}